﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	{% load i18n %}
	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
		<link href="/static/styles/landscape_1366x768/main_login.css"  media="screen and (min-device-width: 1366px)" rel="stylesheet" type="text/css" >
		
		
		<!--<link href="/static/styles/base_ve1.css" rel="stylesheet" type="text/css" >-->
		<link rel="stylesheet" href="/static/dojo-release-1.8.0/dijit/themes/claro/claro.css">
		<link rel="stylesheet" href="/static/styles/calendar.css">
		<link rel="stylesheet" href="/static/styles/departamento.css">
		<link rel="stylesheet" href="/static/styles/docente.css">
		<link rel="stylesheet" href="/static/styles/estatisitica.css">
		
		
		<title>{% block title %}{% endblock %}</title>
		
		
		<script src="/static/JQuery/jquery-1.10.2.js"></script>
		<script src="/static/JQuery/jquery-ui-1.10.4.custom.js"></script>
		<!--<script src="/static/javaScript/jquery-2.0.3.js"></script>-->
		<script src="/static/DataTables-1.10.0/media/js/jquery.dataTables.js"></script>
		<script src="/static/tableToJson/jquery.tabletojson.js"></script>
		
		<script src="/static/javaScript/modal_manage.js"></script>
		
		
		<link rel="stylesheet" type="text/css" href="/static/styles/jscal2.css" />
		<!--<link rel="stylesheet" type="text/css" href="/static/src/css/border-radius.css" />-->
		<link rel="stylesheet" type="text/css" href="/static/styles/steel.css" />
		<link rel="stylesheet" type="text/css" href="/static/styles/jquery-ui-1.10.4.custom.css" />
		
		
		<!--Bootstrap core CSS -->
		<link rel="stylesheet" href="/static/dist_bootstrap/css/bootstrap.css"></link>
		<!--Bootstrap theme -->
		<link rel="stylesheet" href="/static/dist_bootstrap/css/bootstrap-theme.min.css"></link>
		<!--Custom styles for this template -->
		<link rel="stylesheet" href="/static/dist_bootstrap/css/theme.css"></link>
		<!---------------------------------- Auxiliar do base---------------------->
		<link rel="stylesheet" href="/static/dist_bootstrap/css/base-aux.css"></link>
		<!--Just for debugging purposes. Don't actually copy this line! -->
		<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
		<!--HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
		    <![endif]-->
		
		
		<link rel="stylesheet" type="text/css" href="/static/DataTables-1.10.0/media/css/jquery.dataTables.css">
		<link rel="stylesheet" type="text/css" href="/static/DataTables-1.10.0/media/css/jquery.dataTables_themeroller.css">

		
		{%block script%}{%endblock%}
	</head>

	<body>
		 <div class="wrapper">
		<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
			<div class="container">
			
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
		            <span class="sr-only"></span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		        </button>
				<a class="navbar-brand" href="/distro">Distribuição serviço docente</a>
			</div>
			<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					{%block Menus%}{%endblock%}
				</ul>
				<ul class="nav navbar-nav navbar-right">
					{%block User%}
						<li class="dropdown">
					      	<a href="#" class="dropdown-toggle" data-toggle="dropdown">
					      		<span>
					      			<i class="icon-caret-down"></i>
					      			{% if user.is_active%}						
										<strong>
											{% filter force_escape	%}{% firstof user.username %}{% endfilter %} 
										</strong>
								</span>
								<b class="caret"></b>
							</a>
										{% block userlinks %}
											{% url 'django-admindocs-docroot' as docsroot %} 
											{% if docsroot %}{% endif %}
									      	<ul class="dropdown-menu">
										        <li><a href="{% url editPerfilUser %}">{% trans 'Editar Perfil' %} </a></li>
										        <li><a href="{% url changePassword %}">{% trans 'Alterar Palavra Chave' %} </a></li>
										        <li><a href="{% url sair %}">{% trans 'Log out' %}</a></li>
										    </ul>
									   	{% endblock %} 
						   			{% endif %}
						      
					    </li>
					{% endblock %}
				</ul>
			  </div>
			</div>
		</div>
		{% block BigBlock %} 
			<div class="half-space clearfix h-95 main_block" >
				<div class="h-100 col-xs-12 col-sm-12 col-md-3 col-lg-3 ">
					<div class="container">
					{% block BigLeftBlock %} 
	               	
	                	<div class="half-space clearfix h-95">
							{% block filtros %} {% endblock %}
						</div>
						 
					{% endblock %}
					</div>
				</div>
			  	<div class="col-xs-12 col-md-12 col-md-9 col-lg-9 h-100">
					<div class="column-group">
							 
						 {% block breadcrumb %} {% endblock %}
					
	                	<div class="half-space clearfix">
	                    {% block content %} {% endblock %}
		                    <div class="col-xs-12 col-md-12 col-md-8 col-lg-8 h-100">
		                    	{% block formulario %} {% endblock %}
		                    </div>
	                    </div>
	            	</div>
				</div>
			</div>
				
			<!--<div class="col-xs-12 col-md-12 col-md-12 col-lg-12 h-100">
				<div class="container">
					<div class="panel-footer">
				        <p class="pull-right"><a href="#">Back to top</a></p>
				        <footer>
					        <p>
					        	{% block footer %}
					        		©2012 - Instituto Politécnico de Beja <a href="#">Privacy</a> · <a href="#">Terms</a>
					        	{% endblock %}
					        </p>
			      		</footer>	
					</div>
				</div>
			</div>-->
			{% endblock %}
		</div>
	<!--Div do Rodapé-->
	
	<footer  class="bs-footer panel-footer" role="contentinfo">
      <div class="container">
          <p class="pull-right"><a href="#">Voltar ao Topo</a></p>
        <p>©2014 - Instituto Politécnico de Beja.</p>
      
        <p><a href="#">Acerca</a></p>
    
        
        
        
      </div>
    </footer>
	  	<script type="text/javascript">
			function getCookie(name) {var cookieValue = null;if (document.cookie && document.cookie != '') {var cookies = document.cookie.split(';');for (var i = 0; i < cookies.length; i++) {var cookie = jQuery.trim(cookies[i]);if (cookie.substring(0, name.length + 1) == (name + '=')){cookieValue = decodeURIComponent(cookie.substring(name.length + 1));break;}}}return cookieValue;}
		</script>
      	<script src="/static/dist_bootstrap/js/bootstrap.min.js"></script>
     	<script src="/static/dist_bootstrap/docs-assets/js/holder.js"></script>
	</body>
	
	
</html>
